﻿@page
@inherits Rechargeable.Web.Pages.RechargeablePage
@model Rechargeable.Web.Pages.Products.Prices.IndexModel
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal
@{
    ViewData["Title"] = "商品价格";
}
@section scripts
{
    <abp-script src="/Pages/Products/Prices/index.js" />
}
<abp-card>
    <abp-card-header>
        <abp-row>
            <abp-column size-md="_6">
                <h2>@L["Products"]</h2>
            </abp-column>
            <abp-column size-md="_6" class="text-right">
                <abp-button id="btnCreate"
                            text="@L["Add"].Value"
                            icon="plus"
                            button-type="Primary" />
            </abp-column>
        </abp-row>
    </abp-card-header>
    <abp-card-body>
        <abp-table striped-rows="true" id="PorductPriceTable">
            <thead>
                <tr>
                    <td>@L["Actions"]</td>
                    <th>@L["Desc"]</th>
                    <th>价格</th>
                    <th>有效期限</th>
                </tr>
            </thead>
        </abp-table>
    </abp-card-body>
</abp-card>
<input type="hidden" name="productId" id="productId" value="@Model.ProductId" />
